package yz.cp.back.websocket.service;

import org.springframework.security.oauth2.provider.OAuth2Authentication;
import yz.cp.back.auth.security.SecUser;

/**
 * Created by xukangkang on 2019/3/18.
 */
public interface ITokenService {
    SecUser retrieveUser(String accessToken);
    OAuth2Authentication retrieveUserPrincipal(String accessToken);
}
